Skip to content

Conversation

@samschlegel
Copy link
Contributor

When running python with -S to disable the site module, exit isn't implicitly imported and you need to explicitly call sys.exit instead. Seems to be a remnant of the REPL

When running python with `-S` to disable the `site` module, you need to
explicitly call `sys.exit` instead of the `exit` function which seems to
be a remnant of the REPL
@dougthor42 dougthor42 added this pull request to the merge queue Mar 15, 2025
Merged via the queue into bazel-contrib:main with commit c0b5075 Mar 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants